package top.v5it.japi.plus.core.api;

import lombok.Getter;

import java.io.Serializable;

/**
 * 空对象，用于API返回值
 *
 * @author zhanpu
 * @date 20-11-13
 */
public final class Empty implements Serializable {

    private static final long serialVersionUID = -2443935298044439567L;

    @Getter
    private final Object value = null;

    private Empty() {

    }

    /**
     * 创建对象
     *
     * @return
     */
    public static Empty of() {
        return new Empty();
    }
}
